# $Id: PKGBUILD 86242 2013-03-14 03:14:42Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>

pkgname=('python2-south')
pkgbase=python-south
pkgver=0.7.6
pkgrel=3
pkgdesc="Intelligent database migrations library for the Django web framework"
arch=('any')
url="http://south.aeracode.org/"
license=('APACHE')
makedepends=('python2-distribute')
source=(http://pypi.python.org/packages/source/S/South/South-$pkgver.tar.gz)
sha256sums=('d2c3c1ddf93ec7e29935088eef47984bb780e47aeb8acd5f18fbb3a72e97936a')

build() {
  cd "$srcdir/South-$pkgver"

  python2 setup.py build
}

package_python2-south() {
  depends=('python2-django')
  conflicts=('python-south<=0.7.6-1')
  replaces=('python-south<=0.7.6-1')

  cd "$srcdir/South-$pkgver"
  python2 setup.py install --root="$pkgdir" -O1
}

# vim:set ts=2 sw=2 et:
